package com.reyi.book.service;

import java.util.Date;
import java.util.List;

import com.reyi.book.pojo.Ranking;
import com.reyi.book.pojo.TUser;


public interface IndexService {
	
	
	//根据uid查询用户
	public TUser selectUserByUid(String uid);
	//插入新用户
	public boolean insertUser(TUser user);
	//修改用户信息
	public boolean updateUser(TUser user);
	//取回排行榜
	public List<Ranking> fetchRanking();
	//更新赞数
	public boolean updateLikeNum(String nickname,int num);
}
